package com.jiechuang.common.bean.addOrUpdate;

import lombok.Data;
import org.springframework.util.StringUtils;

@Data
public class MenuAddOrUpdate {
    private Integer id;
    private String menuName;
    private String path;
    private String icon;
    private Integer parentId=0;
    private Integer menuLevel;
    public String getMenuName() {
        return StringUtils.hasLength(menuName)?menuName:null;
    }
    public String getPath() {
        return StringUtils.hasLength(path)?path:null;
    }
    public String getIcon() {
        return StringUtils.hasLength(icon)?icon:null;
    }
}
